﻿using System;
using System.Collections.Generic;
using System.Text;

namespace 模板模式
{
    class ConcreteClassB : AbstractClass
    {
        public override void PrimitiveOperation1()
        {
            Console.WriteLine("执行方法1");
        }

        public override void PrimitiveOperation2()
        {
            Console.WriteLine("执行方法2");
        }
    }
}
